<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>流水管理</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table-1.18.3.min.css" rel="stylesheet">
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css">
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <link rel="stylesheet" href="/css/input_tags.css" />
    <link rel="stylesheet" type="text/css" href="/css/daterangepicker.css" />
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <link rel="stylesheet" href="/css/skin.css"/>
    <!--表单校验插件-->
    <link rel="stylesheet" href="/css/bootstrapValidator.min.css" />
    <link rel="stylesheet" href="/css/finance/serialForm.css">
    <style>
        #startTm, #endTm{
            width: 105px;
        }
        #yearSelect, #monthSelect{
            width: 82px;
            margin-right: 15px;
        }
    </style>
</head>
<body>
<div class="container-fluid clue-page">
    <div class="card">
        <div class="card-header">
            <h1 class="pull-left">流水管理</h1>
            <div class="pull-left" style="margin-left:10px" id="setWhiteListBtn">
                <img src="../../../../images/finance/serialForm/baseSet.png" alt=""><span style="font-size:14px;color:#757AEA;position: relative; top: 2px; left: 3px;" onclick="openWhiteList()">设置白名单</span>
            </div>
        </div>
        <div class="card-body">
                <div class="row content-action">
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                        <div class="currentMonthMoneyContainer clearFix">
                            <div class="pull-left clearFix">
                                <div class="pull-left" style="width:30px;height:60px;margin-right:15px;display: flex;align-items: center;">
                                    <img src="../../../../images/finance/serialForm/icon1.png" alt="">
                                </div>
                                <div class="pull-right" style="padding-top:5px">
                                    <p class="title">当前月份流水导入总金额</p>
                                    <p class="currentMonthMoney">
                                        <strong>￥</strong>
                                        <strong id="currentMonthImportMoney"></strong>
                                    </p>
                                </div>

                            </div>
                            <div class="pull-right">
                                <img src="../../../../images/finance/serialForm/icon3.png" alt="">
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                        <div class="currentMonthMoneyContainer clearFix">
                            <div class="pull-left clearFix">
                                <div class="pull-left" style="width:30px;height:60px;margin-right:15px;display: flex;align-items: center;">
                                    <img src="../../../../images/finance/serialForm/icon2.png" alt="">
                                </div>
                                <div class="pull-right" style="padding-top:5px">
                                    <p class="title">当前月份流水未分配总金额</p>
                                    <p class="currentMonthMoney">
                                        <strong>￥</strong>
                                        <strong id="currentMonthUnassignedMoney"></strong>
                                    </p>
                                </div>
                            </div>
                            <div class="pull-right">
                                <img src="../../../../images/finance/serialForm/icon4.png" alt="">
                            </div>
                        </div>
                    </div>
                </div>

            <div class="row content-action" style="padding:0 15px">
                <div class="row content-action" style="margin-left:0;margin-right:0">
                    <div class="pull-left dateContiner">
                        <input type="text" readonly="readonly" class="form-control datepickerCon" placeholder="选择年份" id="yearSelect">
                        <input type="text" readonly="readonly" class="form-control datepickerCon" placeholder="选择月份" id="monthSelect">
                        <div>
                            <!-- 全部 本周 本月 本年 -->
                            <div class="time-search pull-left" style="margin-right:15px">
                                <div class="customize" onclick="customInputToggle()">自定义</div>
                            </div>
                            <div class="custom-input pull-left" id="customInput">
                                <div class="input-group">
                                    <input type="text" class="form-control datepicker" placeholder="开始时间" id="startTm">
                                    <span class="input-group-addon">至</span>
                                    <input type="text" class="form-control datepicker" placeholder="结束时间" id="endTm">
                                    <!--<div class="input-group-btn">
                                        <button type="button" class="btn btn-default" id="customDateBtn" onclick="financialFlow(2)">确定</button>
                                    </div>-->
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="pull-right">
                        <div class="pull-right">
                            <div class="min-search pull-left">
                                <input class="form-control" type="text" placeholder="请输入流水号" id="transactionNo" name="transactionNo">
                                <button class="btn btn-primary" type="button" onclick="financialFlow(3);"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                            </div>
                            <div class="btn-group pull-right" id="importFlowBtn" style="margin-left:20px">
                                <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    导入流水 <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu">
                                    <li><a href="#!" onclick="downCallTemplate();">下载模板</a></li>
                                    <li><a href="#!" data-toggle="modal" data-target="#importTemplate">直接导入</a></li>
                                </ul>
                            </div>
                            <div id="productActivityTableToolbar" class="toolbar pull-right" style="margin-left:10px">
                                <button type="button" class="btn btn-success btn-label" data-toggle="modal" onclick="openAddFlowModal()"><label><i class="mdi mdi-plus"></i></label>新增</button>
                            </div>
                            <div class="pull-right" style="margin-left:10px">
                                <button type="button" data-loading-text="导出中，请稍后。。。" class="exportButton btn btn-primary" autocomplete="off" onclick="showExportTipsModal();">导出数据</button>
                            </div>
                        </div>
                        <div id="advanceFilterContainer" class="pull-right">
                            <button class="btn btn-default btn-senior" id="openFilter" onClick="showToggle()"><i class="mdi mdi-sort-variant"></i>高级筛选</button>
                            <button class="btn btn-default btn-senior" id="closeFilter" onClick="showToggle()"><i class="mdi mdi-close"></i>关闭筛选</button>
                            <div id="filterFilesContainer" class="clearFix" style="right: -387px;">
                                <div id="filterFiles" class="clearFix">
                                    <div class="clearFix filterContent">
                                        <form id="advancedFilter">
                                            <div id="branchCompany" class="form-group clearFix col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                                <label class="control-label pull-left">所属分公司:</label>
                                                <div class="form-content">
                                                    <select id="companySelect" name="companySelect"  class="form-control selectpicker" type="text" placeholder="请选择所属公司">
                                                        <option value="">请选择</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group clearFix col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                                <label class="control-label pull-left">关联状态:</label>
                                                <div class="form-content">
                                                    <select  class="form-control selectpicker" id='relationState' type="text" placeholder="请选择">
                                                        <option value="">请选择</option>
                                                        <option value="Y">已关联</option>
                                                        <option value="N">未关联</option>
                                                        <option value="B">部分关联</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group clearFix col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                                <label class="control-label pull-left">对方单位:</label>
                                                <div class="form-content">
                                                    <input type="text" id="oppositeCompany" class="form-control" placeholder="请输入单位名称" value="">
                                                </div>
                                            </div>
                                        </form>
                                        <div class="pull-right" style="padding:0 15px;margin-top:25px;">
                                            <div class="btn btn-primary" onclick="submitAdvance()">
                                                <i class="mdi mdi-magnify"></i>
                                                <span>搜索</span>
                                            </div>
<!--                                            <div style="margin-left:10px;display: inline-block;vertical-align: middle;">-->
<!--                                                <button type="button" data-loading-text="导出中，请稍后。。。" class="exportButton btn btn-primary" style="height: 38px;" autocomplete="off" onclick="showExportTipsModal();">导出数据</button>-->
<!--                                            </div>-->
                                            <div class="btn btn-default"style="margin-left: 20px;" onclick="reset()">重置</div>
                                        </div>

                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>

<!--                <div class="col-lg-7 col-md-6 col-sm-6 col-xs-12">-->
<!--                    <div class="btn-group">-->
<!--                        <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">-->
<!--                            导入流水 <span class="caret"></span>-->
<!--                        </button>-->
<!--                        <ul class="dropdown-menu">-->
<!--                            <li><a href="#!" onclick="downCallTemplate();">下载模板</a></li>-->
<!--                            <li><a href="#!" data-toggle="modal" data-target="#importTemplate">直接导入</a></li>-->
<!--                        </ul>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="col-lg-5 col-md-6 col-sm-6 col-xs-12">-->
<!--                    <div class="pull-right">-->
<!--                        &lt;!&ndash;<button class="btn btn-default" data-toggle="collapse" data-target="#filterContent" aria-expanded="false" aria-controls="filterContent"><i class="mdi mdi-sort-variant"></i>高级筛选</button>&ndash;&gt;-->
<!--                        <div class="min-search pull-left" style="margin-left: 12px;">-->
<!--                            <input class="form-control" type="text" placeholder="请输入流水号" id="transactionNo" name="transactionNo">-->
<!--                            <button class="btn btn-primary" type="button" onclick="financialFlow();"><i class="mdi mdi-magnify"></i><span>搜索</span></button>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
            </div>
<!--            <div class="collapse filter-content" id="filterContent">-->
<!--                <div class="row">-->
<!--                    <div class="col-xs-12">高级筛选</div>-->
<!--                </div>-->
<!--            </div>-->
            <table id="financialFlow"></table>
        </div>
    </div>
</div>
<!-- 导入模板 -->
<div class="modal fade importTemplate" tabindex="-1" role="dialog" data-backdrop="static" id="importTemplate">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header clearFix">
                <h4 class="pull-left">导入流水</h4>
                <!--<div class="clearFix pull-right"  id="selectCompany" style="width:260px;margin-left: 20px">
                    <select id="searchCompanySelect" name="searchCompanySelect" class="form-control" type="text" placeholder="请选择所属公司">
                        <option value="">请选择所属分公司</option>
                    </select>
                </div>-->
            </div>
            <div class="modal-body">
                <label for="importInput" class="well">
                    <input type="file" accept=".xlsx" id="importInput" class="hide">
                    <i class="mdi mdi-cloud-upload"></i>
                    <p id="nameText">点击选择模板</p>
                </label>
                <div class="progress" id="progress">
                    <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
                        <span class="sr-only">0% Complete</span>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="importAction(this);" data-loading-text="处理中...">立即导入</button>
                <button type="button" class="btn btn-default" onclick="cancelImport()">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 详情 -->
<div class="modal fade detailModal" tabindex="-1" role="dialog" id="detailModal">
    <div class="modal-dialog modal-lg" role="document" style="width: 1200px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>流水回款详情</h4>
            </div>
            <div class="modal-body">
                <input type="text" id="productOrderId" class="hidden">
                <div class="well form-well">
                    <h3>订单详情</h3>
                    <div class="row order-info">
                        <div class="col-xs-3">
                            <h6>编号：</h6>
                            <p id="infoOrderNumber">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>合同编号：</h6>
                            <p id="infoContractNumber">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>订单状态：</h6>
                            <p id="infoOrderStatus">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>客户名称：</h6>
                            <p id="infoCustomerName">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>订单所有人：</h6>
                            <p id="infoUserName">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>所属分公司：</h6>
                            <p id="infoCompanyName">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>创建日期：</h6>
                            <p id="infoCreateTm">-</p>
                        </div>
                    </div>
                </div>
                <div class="well form-well">
                    <h3>产品详情</h3>
                    <table id="detailProductTable"></table>
                </div>
                <div class="well form-well bankflow-well">
                    <h3>流水详情<button type="button" class="btn btn-default" onclick="editBankFlow()"><i class="mdi mdi-pencil"></i>修改</button></h3>
                    <table id="bankFlowTable"></table>
                </div>
            </div>
            <!--<div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="importAction(this);" data-loading-text="处理中...">立即导入</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>-->
        </div>
    </div>
</div>

<!-- 关联订单 -->
<div class="modal fade relationModal" tabindex="-1" role="dialog" data-backdrop="static" id="relationModal">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>关联订单</h4>
            </div>
            <div class="modal-body" style="min-height: 180px;">
                <input type="text" id="relationProductOrderId" class="hidden">
                <input type="text" id="relationTransactionNo" class="hidden">
                <div class="row search-group">
                    <div class="col-lg-6 col-md-8 col-sm-10 col-xs-12 col-lg-offset-3 col-md-offset-2 col-sm-offset-1">
                        <div class="input-group">
                            <input type="text" id="searchOrderValue" class="form-control" placeholder="请输入订单编码查询相关订单" value="">
                            <div class="input-group-btn">
                                <button type="button" class="btn btn-primary" id="searchOrderBtn">查询订单</button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="well form-well" style="display: none;">
                    <h3>订单详情</h3>
                    <div class="row order-info">
                        <div class="col-xs-3">
                            <h6>编号：</h6>
                            <p id="relationInfoOrderNumber">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>合同编号：</h6>
                            <p id="relationInfoContractNumber">-</p>
                        </div>
                        <div class="col-xs-2">
                            <h6>订单状态：</h6>
                            <p id="relationInfoOrderStatus">-</p>
                        </div>
                        <div class="col-xs-4">
                            <h6>客户名称：</h6>
                            <p id="relationInfoCustomerName">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>订单所有人：</h6>
                            <p id="relationInfoUserName">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>所属分公司：</h6>
                            <p id="relationInfoCompanyName">-</p>
                        </div>
                        <div class="col-xs-3">
                            <h6>创建日期：</h6>
                            <p id="relationInfoCreateTm">-</p>
                        </div>
                    </div>
                </div>
                <div class="well form-well" style="display: none;">
                    <h3>产品详情</h3>
                    <table id="relationProductTable"></table>
                </div>
            </div>
            <div class="modal-footer" style="display: none;">
                <button type="button" class="btn btn-primary" onclick="relationAction();" data-loading-text="处理中...">关联订单</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

<!-- 导入流水详情 -->
<div class="modal fade importDetailModal" tabindex="-1" role="dialog" id="importDetailModal">
    <div class="modal-dialog modal-lg" role="document" style="width: 1200px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>导入详情</h4>
            </div>
            <div class="modal-body">
                <div class="importDetail">
                    <p>当前流水导入记录:<strong id="importRecord"></strong>条</p>
                    <p>导入成功条数:<strong id="successRecord"></strong>条</p>
                    <p>导入失败条数:<strong id="errorRecord"></strong>条</p>
                </div>
                <div class="errorDetail">
                    <header>
                        <h5>失败明细</h5>
                        <span>(其中红色字体为重复数据)</span>
                    </header>
                    <table id="errorDetail"></table>
                </div>
            </div>

        </div>
    </div>
</div>

<!-- 新增流水 弹窗 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" id="addFlowModal">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 id="modalTitle">新增流水</h4>
            </div>
            <div class="modal-body clearFix">
                <form class="pull-left" id="addFlowForm" style="width:100%">
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">交易流水号:</label>
                        <div class="form-content clearFix">
                              <input class="form-control" type="text" placeholder="请输入交易流水号" id="addTransactionNo" name="addTransactionNo">
                         </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">交易日期:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请选择交易日期" id="addTransactionDate" name="addTransactionDate">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">收款方账号:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入收款方账号" id="addPayeeAcount" name="addPayeeAcount">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">收款方名称:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入收款方名称" id="addPayeeName" name="addPayeeName">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">对方单位名称:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入对方单位名称" id="addOppositeCompany" name="addOppositeCompany">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label">对方银行名称:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入对方银行名称" id="addOppositeBank" name="addOppositeBank">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label">对方银行账号:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入对方银行账号" id="addOppositeBankAccount" name="addOppositeBankAccount">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">贷方金额:</label>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入贷方金额" id="addCreditMoney" name="addCreditMoney" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                        </div>
                    </div>
                    <div class="col-lg-4  col-md-4  col-sm-4 col-xs-12 form-group">
                        <label class="control-label label-required">所属分公司:</label>
                        <div class="form-content clearFix">
                            <select id="addCompanySelect" name="addCompanySelect"  class="form-control selectpicker" type="text" placeholder="请选择所属公司">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 form-group">
                        <label class="control-label">摘要:</label>
                        <div class="form-content clearFix">
                            <textarea class="form-control" rows="4" style="resize: none" type="text" placeholder="请输入摘要" id="addAbstracts" name="addAbstracts"></textarea>
                        </div>
                    </div>
                </form>


            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="addFlow()">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

<!-- 流水导出温馨提示 -->
<div class="modal fade" id="exportTipsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    导出数据
                </h4>
            </div>
            <div class="modal-body" style="font-size: 15px;">
                <img style="width: 24px;height: 24px;margin-top: -1px;" src="/images/common/wenxintishi.png"/>
                <span style="color: #ef087a;">温馨提示：</span>因系统限制，一次最多只能导出5000条流水。
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="exportData()">立即导出</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
<!-- 白名单列表弹窗 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" id="whiteListTableModal">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 id="setWhiteListTitle">设置白名单</h4>
            </div>
            <div class="modal-body clearFix">
                <div id="tableContainer">
                    <div class="toolbar pull-right" style="margin-bottom:15px;">
                        <button type="button" class="btn btn-success btn-label" data-toggle="modal" onclick="setWhiteList()"><label><i class="mdi mdi-plus"></i></label>新增</button>
                    </div>
                    <table id="whiteListTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<!--新增白名单-->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" id="whiteListModal">
    <div class="modal-dialog" style="width:400px" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>白名单</h4>
            </div>
            <div class="modal-body clearFix">
                <form class="pull-left" id="addWhiteListForm" style="width:100%">
                    <div class="col-lg-12  col-md-12  col-sm-12 col-xs-12 form-group">
                        <label class="control-label label-required">过滤名称:</label><span style="color:#f96868">(请谨慎添加,不提供修改功能)</span>
                        <div class="form-content clearFix">
                            <input class="form-control" type="text" placeholder="请输入过滤名称" id="whiteName" name="whiteName">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="addWhiteList()">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min-1.18.3.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script type="text/javascript" src="/js/crm/common/common.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns-1.18.3.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<!--表单校验-->
<script type="text/javascript" src="/js/bootstrapValidator.min.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<!--高筛切换-->
<script src="/js/crm/common/highScreenToggle.js"></script>
<!--自定义-->
<script src="/js/crm/finance/serialForm.js"></script>
</body>
</html>